import { _decorator, Component, Node, Vec3, Size } from 'cc';
import { GlobalEnum } from '../../Init/Config/GlobalEnum';
const { ccclass, property } = _decorator;

@ccclass('BasicProp')
export class BasicProp {
    node: Node = null;
    mappingProps: {
        type: GlobalEnum.PropsType, node: Node,
        state?: number, data?
    } = null;
    constructor(node: Node) {
        this.node = node;
    }

    init(parent: Node, p: Vec3, r: Vec3) {

    }
    reset() {

    }
    update(dt) {

    }
}

